package com.xydtech.rule.domain;

import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 规则执行参数值对象
 *
 * @author xydtech
 * @date 2024-06-06
 */
public class RuleExecute extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 策略组ID
     */
    private Long groupId;

    /**
     * 计算公式
     */
    private String ruleFormulas;
    /**
     * 规则要素信息
     */
    List<RuleElementsItems> ruleElementsItems;

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public List<RuleElementsItems> getRuleElementsItems() {
        return ruleElementsItems;
    }

    public void setRuleElementsItems(List<RuleElementsItems> ruleElementsItems) {
        this.ruleElementsItems = ruleElementsItems;
    }

    public String getRuleFormulas() {
        return ruleFormulas;
    }

    public void setRuleFormulas(String ruleFormulas) {
        this.ruleFormulas = ruleFormulas;
    }

    @Override
    public String toString() {
        return "RuleExecute{" +
                "groupId=" + groupId +
                ", ruleFormulas='" + ruleFormulas + '\'' +
                ", ruleElementsItems=" + ruleElementsItems +
                '}';
    }
}
